package com.workstudy.wstudy.domain;

import java.math.BigDecimal;

import com.workstudy.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;

/**
 * 学生对象 wst_student
 * 
 * @author sun
 * @date 2021-04-04
 */
public class WstStudent extends SysUser
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long studentId;

    /** postId */
    @Excel(name = "postId")
    private Long postId;

    /** 贫困等级 */
    @Excel(name = "贫困等级")
    private Long poor;

    /** 特殊群体类型 */
    @Excel(name = "特殊群体类型")
    private String specialtype;

    /** 信用分 */
    @Excel(name = "信用分")
    private Double credit;

    /** 扣分 */
    @Excel(name = "扣分")
    private String deductpoints;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 专业 */
    @Excel(name = "专业")
    private String profession;

    /** 班级 */
    @Excel(name = "班级")
    private String grade;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String bankCard;

    private String identity;
    private String outlook;
    private String address;

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getOutlook() {
        return outlook;
    }

    public void setOutlook(String outlook) {
        this.outlook = outlook;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    private SysUser user;

    private WstPost post;

    public WstPost getPost() {
        return post;
    }

    public void setPost(WstPost post) {
        this.post = post;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setPostId(Long postId)
    {
        this.postId = postId;
    }

    public Long getPostId()
    {
        return postId;
    }
    public void setPoor(Long poor)
    {
        this.poor = poor;
    }

    public Long getPoor()
    {
        return poor;
    }
    public void setSpecialtype(String specialtype)
    {
        this.specialtype = specialtype;
    }

    public String getSpecialtype()
    {
        return specialtype;
    }
    public void setCredit(Double credit)
    {
        this.credit = credit;
    }

    public Double getCredit()
    {
        return credit;
    }
    public void setDeductpoints(String deductpoints) 
    {
        this.deductpoints = deductpoints;
    }

    public String getDeductpoints() 
    {
        return deductpoints;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setProfession(String profession) 
    {
        this.profession = profession;
    }

    public String getProfession() 
    {
        return profession;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public String getBankCard() 
    {
        return bankCard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("postId", getPostId())
            .append("poor", getPoor())
            .append("specialtype", getSpecialtype())
            .append("credit", getCredit())
            .append("deductpoints", getDeductpoints())
            .append("status", getStatus())
            .append("profession", getProfession())
            .append("grade", getGrade())
            .append("bankCard", getBankCard())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
